package com.wzdigit.wms.basic.domain.dtos.transfer;

import com.wzdigit.wms.basic.domain.basic.Location;
import com.wzdigit.wms.basic.domain.basic.Sku;
import com.wzdigit.wms.basic.domain.inventory.Goods;
import com.wzdigit.wms.basic.domain.inventory.GoodsPkg;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName TransferLocationSnDto
 * @Description 条码类型及其对应信息
 * @Author LHR-PC
 * @Date 2021/4/1 17:23
 * @Version
 **/
@Data
@Accessors(chain = true)
public class TransferLocationSnDto implements Serializable {

    private Goods goods;
    private GoodsPkg goodsPkg;
    Boolean isLeaf; //是否叶子节点
    int snType = 0; //条码类型，0为goodsSn , 1为pkgSn
    Integer pkgLevel = 0; //包装等级，默认 0 货品条码
    private String goodsSn;
    private String pkgSn;
    private Integer pkgId;
    private Sku sku;
    private Location location;
    private List<Goods> goodsList;
    private String pkgUrl;
    private Integer leafPkgId;
    private Integer whsId;
}
